app.factory("idService",["$http", function($http) {
    var factory = {
        principle: function() {
            return $http.get("/principle");
        },
        listGroup: function () {
            return $http.get("/list/group");
        },
        isManager: function () {
            return $http.get("/is/manager");
        },
        isDeveloper: function () {
            return $http.get("/is/developer");
        },
        isTester: function () {
            return $http.get("/is/tester");
        },
        isRequire: function () {
            return $http.get("/is/require");
        }
    };
    return factory;
}]);
